package com.shujia.sql

import org.apache.spark.sql.SparkSession

object GetSpark {

  def spark(name: String): SparkSession = {
    SparkSession
      .builder()
      .master("local")
      .appName(name)
      .getOrCreate()
  }
}
